<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>上传文件</title>
</head>
<body>
    <h1>上传文件示例</h1>
    <h1>{{ message }}</h1>
    <form action=""
          method="POST"
          enctype="multipart/form-data">
        <p><input type="file" name="file">
            <input type="submit" value="Upload"></p>
        </form>
    {% block img %} {% endblock %}

</body>
</html>